home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / bubble_tanks_2.swf / scripts / DefineButton2_500 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2008-09-02  |  367 b   |  16 lines

  1. on(release){
  2.    if(_root.EnemiesSelected() == true)
  3.    {
  4.       _root.leftA.gotoAndPlay(16);
  5.       _root.rightA.gotoAndPlay(16);
  6.       _root.ico.gotoAndPlay(21);
  7.       _root.titleA.gotoAndPlay(16);
  8.       _root.blueish.gotoAndPlay(61);
  9.    }
  10.    else
  11.    {
  12.       _global.SoundManager.PlayBubbleSound("nocando");
  13.       _root.instruct1.gotoAndStop(4);
  14.    }
  15. }
  16.